package com.kuzma.itibo.datamodel;

import java.util.List;

public class User {
	
    private Long id;
    private String name;
    private String login;
    private String password;
    private List<Postcard> postcards;

 
    public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getLogin() {
		return login;
	}
	public void setLogin(String login) {
		this.login = login;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public List<Postcard> getPostcards() {
		return postcards;
	}
	public void setPostcards(List<Postcard> postcards) {
		this.postcards = postcards;
	}

    @Override
    public String toString() {
        return this.name;
    }
}
